From: Valentin Gatien-Baron Date: Sun, 9 Jul 2017 22:08:52 +0000 (+0200) Subject: Fix bug in module_free_global_ref (Bug#27587) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~1543^2~136 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=22af69906cca871fdb893e06d6f10dbbab4518e6;p=emacs.git Fix bug in module_free_global_ref (Bug#27587) * src/emacs-module.c (module_free_global_ref): Actually remove entry from hash table. Copyright-paperwork-exempt: yes --- diff --git a/src/emacs-module.c b/src/emacs-module.c index c5e56b1344c..ba996982604 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -328,7 +328,7 @@ module_free_global_ref (emacs_env *env, emacs_value ref) set_hash_value_slot (h, i, value); } else - hash_remove_from_table (h, value); + hash_remove_from_table (h, obj); } if (module_assertions)